Skip to content

Instantly share code, notes, and snippets.

@V0ID-8
V0ID-8 / data_utils.py
Created June 3, 2026 08:40
Python data manipulation helpers
def group_by(items: list, key: str) -> dict:
"""Group a list of dicts by a given key."""
result = {}
for item in items:
val = item.get(key)
result.setdefault(val, []).append(item)
return result
def remove_duplicates(items: list) -> list:
"""Remove duplicates from a list while preserving order."""
@eylenburg
eylenburg / msoffice_in_linux.md
Last active June 3, 2026 08:40
Installing Microsoft Office in Linux

Step by step guide: How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

  1. LinOffice - Microsoft Office Launcher for Linux, my own fork of Winapps which is focused on only running Microsoft Office, with some Office-specific improvements over Winapps and a fully automated setup. Eventually I would like to create a GUI for it. Decribed below
  2. Winapps, based on KVM, QEMU, Docker/Podman and FreeRDP. Still actively maintained (getting Github commits). Decribed below
  3. Cassowary, based on KVM, QEMU, libvirt/virt-manager, and FreeRDP. Last release in Feb 2022 and seems to be abandoned.
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@VivianBalakrishnan
VivianBalakrishnan / VB-NANOCLAW-MEMORY-OBSI-WIKI-PUBLIC.md
Created April 24, 2026 09:34
NanoClaw — Personal Claude Assistant (second brain for a diplomat)

NanoClaw — Personal Claude Assistant

A self-hosted, compounding-memory AI assistant running on a Raspberry Pi.


What Is This?

NanoClaw is a personal AI assistant built on Anthropic's Claude that runs entirely on a Raspberry Pi. It connects to messaging channels (WhatsApp, Telegram, Slack, Discord), processes voice and images, schedules recurring tasks, and — unlike a standard chatbot — accumulates knowledge over time through a structured memory system.


import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.BlurMaskFilter
import android.graphics.Matrix
import android.view.ViewGroup
import androidx.camera.core.CameraSelector
import androidx.camera.core.ImageCapture
import androidx.camera.core.ImageCaptureException
import androidx.camera.core.ImageProxy

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@jamesjfoong
jamesjfoong / micro-frontends-overview.md
Last active June 3, 2026 08:32
Micro Frontends (MFEs) — A Practical Overview

Micro Frontends (MFEs) — A Practical Overview

Think of MFEs as microservices, but for the frontend. Each team owns a vertical slice: UI + logic + deployment.


1. What Are Micro Frontends?

An architectural style where independently deliverable frontend applications are composed into a greater whole.

@jack3898
jack3898 / GUIDE.md
Last active June 3, 2026 08:27
Framework Desktop mainboard small & compact homelab/NAS parts

Framework Desktop mainboard homelab / NAS component list

This is a little Gist I made to help others looking into buying a Framework mainboard for a homelab / NAS purpose. It's a mix of research I have undertaken to look for parts to work around the limited expansion capabilities of the Framework Desktop mainboard.

Bear in mind, this guide does not cheap out! It ensures that you get the best performance and reliability for your homelab or NAS setup for personal use only and maximises the potential of the Framework Desktop mainboard given its limitations. You may need to expand on my research to find the best components for your specific use case if your budget is more limiting.

Framework Desktop mainboard overview

While the Framework desktop mainboard is a beast in terms of its compute performance, and up to 128GB of unified memory, it only has two M.2 slots for storage expansion. This can be a limiting factor for users looking to build a high-capacity NAS or homelab environment.

@NARKOZ
NARKOZ / README.MOTHERFUCKING.md
Created December 16, 2025 20:05
This gist lists Motherfucking websites. Plain HTML. No frameworks. Read them, learn, stop overengineering.

Motherfucking Websites

A concise list of the Motherfucking-style sites — because sometimes the web needs blunt, unapologetic clarity.